<?php
Zend_Loader::loadClass("Model");

class Runs extends Model
{
    const SIMULATION_READY          =  0;
    const SIMULATION_IDF_JOB        =  1;
    const SIMULATION_IDF_ERROR      =  2;
    const SIMULATION_IDF_COMPLETE   =  4;
    const SIMULATION_EP_JOB         =  8;
    const SIMULATION_EP_ERROR       = 16;
    const SIMULATION_EP_COMPLETE    = 32;

    const SIMULATION_TIMEOUT        =  5;

	protected $_name   = 'run';
	protected $_primary = 'id';
	
	protected $_referenceMap    = array(
		'props' => array(
			'columns'           => 'id_simulation',
			'refTableClass'     => 'Simulations',
			'refColumns'        => 'id'
	));
}

?>